#
# Be sure to run `pod lib lint LPSoundSDK.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
#

Pod::Spec.new do |s|
  s.name             = 'LPSoundSDK'
  s.version          = '0.7.0'
  
  
  s.summary = "A short description of LPSoundSDK."


# This description is used to generate tags and improve search results.
#   * Think: What does it do? Why did you write it? What is the focus?
#   * Try to keep it short, snappy and to the point.
#   * Write the description between the DESC delimiters below.
#   * Finally, don't worry about the indent, CocoaPods strips it!

                       
 s.description = "TODO: Add long description of the pod here."


  s.homepage         = 'https://gitee.com/chen-changjun-code/lpsound-sdk'
  # s.screenshots     = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
  s.license          = { :type => 'MIT', :file => 'LICENSE' }
  s.author           = { 'changjun.chen' => 'changjun.chen@linkplay.com' }
  s.source           = { :git => 'https://gitee.com/chen-changjun-code/lpsound-sdk.git', :tag => s.version.to_s }
  # s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'

  s.ios.deployment_target = '14.0'

  s.source_files = 'LPSoundSDK/Classes/**/*'
  
  # 不加这句话，pod 校验无法通过，会提示模拟器报错，无法导出包
  s.pod_target_xcconfig = { 
    'VALID_ARCHS' => 'x86_64 armv7 arm64',
    'IPHONEOS_DEPLOYMENT_TARGET' => '14.0'
  }
  
  # ✅ **生成 `.framework`，隐藏源码**
   s.static_framework = true
  
#  s.pod_target_xcconfig = {
#    'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64'
#  }


  
   s.resource_bundles = {
     'LPSoundSDK' => ['LPSoundSDK/Assets/*']
   }
   
   # 依赖三方的库
   s.dependency 'Masonry' , '1.1.0'

   s.public_header_files = 'LPSoundSDK/Classes/**/*.h'
  # s.frameworks = 'UIKit', 'MapKit'
  
end
